package com.article.common;

import java.util.List;
import java.util.Map;

public class PageParam {
    /**
     * 当前页码
     */
    private int page;

    /**
     * 列表数据
     */
    private List<?> data;
    /**
     * 消息状态码
     */
    private int code;

    /**
     * 每页条数
     */
    private int limit;

    /**
     * 总记录数
     */
    private int count;

    /**
     * 查询字段
     */
    private Map<String,Object> param;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public List<?> getData() {
        return data;
    }

    public void setData(List<?> data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }
}
